-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci(actions): fix for build not triggering on forked pull request #448
Conversation
Currently, the build is only being triggered whenever there is a push to the repository. This does not lead to a build being triggered whenever there is a push to a branch on a forked repo. This fix allows it to trigger on every push *or* every pull request. We'll probably need to also fix the configuration on the React-Bootstrap repo.
Eh, Idk if I like this setup either. Maybe we can separate the pull request job into its own workflow, with a more simple setup for quick testing? Then we can have the push job to be more comprehensive. |
Does this work roughly like the setup for Travis? Ideally we'd only want to automatically run tests on PRs to master, maybe. |
Yep, it's essentially the same AFAIK 👍
Yeah that's true, I agree. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'd consider removing push. either way
hmm, don't we still want our CI builds to trigger when there is a push to master though? |
ah ok, my bad i was thinking the right setup would be pushes and PRs to master, but not pushes to other branches (unless there's a PR to master open) |
I think I might be able to set this up in a map event configuration actually, I'll tinker with it and see what I can come up with 👌 |
@taion do you mind checking this configuration? I just wanted to confirm that this is what you were thinking |
Currently, the build is only being triggered whenever there is
a push to the repository.
This does not lead to a build being triggered whenever there is a
push to a branch on a forked repo.
This fix allows it to trigger on every push or every pull
request.
We'll probably need to also fix the configuration on the
React-Bootstrap repo.